﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PublicModelsAndEntities.Models.MaintenanceRecord
{
    public class CostFormData
    {
        public string id { get; set;}
        public int firstEnter { get; set;}
        public CostReportDataModel data { get; set;}
    }
    public class CostReportDataModel
    {
        public string? name {  get; set; }
        public string? type { get; set; }
        public string? salesman { get; set; }
        public string? contact_infomation { get; set; }
        public string? shipping_address { get; set; }
        public string? shipping_date { get; set; }
        public string? repairTime { get; set; }
        public string? engineer { get; set; }
        public string? costNumber { get; set; }
        public List<FaultData>? list { get; set; }
    }
    public class FaultData
    {
        public string? product_model { get; set; }
        public string? one_dimensional_code { get; set; }
        public string? repair_phenomenon { get; set; }
        public string? error_reason { get; set; }
        public string? error_deal { get; set; }
        public string? pay { get; set; }
        public string? remark { get; set; }
    }
}
